export default {
    namespaced:true,
    state:{
        // 登录状态
        isLoginStatus: localStorage.getItem('x-auth-token') ? true : false
    },
    mutations:{
        changeIsLoginStatus(state,payload) {
            state.isLoginStatus = payload;
        }
    }
}